package com.echo.ssm.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Son implements Serializable {
	@Override
	public String toString() {
		return "Son [sonId=" + sonId + ", sonName=" + sonName
				+ ", sonUsername=" + sonUsername + ", sonPassword="
				+ sonPassword + ", sonSex=" + sonSex + ", sonBirthday="
				+ sonBirthday + ", sonPhone=" + sonPhone + ", sonAddress="
				+ sonAddress + ", sonImages=" + sonImages + ", sonSigntime="
				+ sonSigntime + ", sonFlag=" + sonFlag + "]";
	}

	private static final long serialVersionUID = 8449052333117120568L;

	private Integer sonId;

    private String sonName;

    private String sonUsername;

    private String sonPassword;

    private Boolean sonSex;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date sonBirthday;

    private String sonPhone;

    private String sonAddress;

    private String sonImages;

    private Date sonSigntime;

    private Boolean sonFlag;

    public Integer getSonId() {
        return sonId;
    }

    public void setSonId(Integer sonId) {
        this.sonId = sonId;
    }

    public String getSonName() {
        return sonName;
    }

    public void setSonName(String sonName) {
        this.sonName = sonName == null ? null : sonName.trim();
    }

    public String getSonUsername() {
        return sonUsername;
    }

    public void setSonUsername(String sonUsername) {
        this.sonUsername = sonUsername == null ? null : sonUsername.trim();
    }

    public String getSonPassword() {
        return sonPassword;
    }

    public void setSonPassword(String sonPassword) {
        this.sonPassword = sonPassword == null ? null : sonPassword.trim();
    }

    public Boolean getSonSex() {
        return sonSex;
    }

    public void setSonSex(Boolean sonSex) {
        this.sonSex = sonSex;
    }

    public Date getSonBirthday() {
        return sonBirthday;
    }

    public void setSonBirthday(Date sonBirthday) {
        this.sonBirthday = sonBirthday;
    }

    public String getSonPhone() {
        return sonPhone;
    }

    public void setSonPhone(String sonPhone) {
        this.sonPhone = sonPhone == null ? null : sonPhone.trim();
    }

    public String getSonAddress() {
        return sonAddress;
    }

    public void setSonAddress(String sonAddress) {
        this.sonAddress = sonAddress == null ? null : sonAddress.trim();
    }

    public String getSonImages() {
        return sonImages;
    }

    public void setSonImages(String sonImages) {
        this.sonImages = sonImages == null ? null : sonImages.trim();
    }

    public Date getSonSigntime() {
        return sonSigntime;
    }

    public void setSonSigntime(Date sonSigntime) {
        this.sonSigntime = sonSigntime;
    }

    public Boolean getSonFlag() {
        return sonFlag;
    }

    public void setSonFlag(Boolean sonFlag) {
        this.sonFlag = sonFlag;
    }
    
    
}